package com.naiterui.ehp.bs.ds.modules.goods.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

import lombok.Data;

@Data
public class WarehouseGoodsInventoryExcelVO implements java.io.Serializable {

    private static final long serialVersionUID = 767161089627466729L;

    @NotEmpty(message = "sku编码不能为null")
    @Excel(name = "SKU编码", orderNum = "0")
    private String skuNumber;

    @Min(value = 0, message = "库存不能小于0")
    @Excel(name = "数量", orderNum = "1")
    private Long quantity;

}
